package cn.com.api.service;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_match_vote;
import cn.com.api.service.base.U_match_voteServiceBase;

/**
 * 
 */
@Service
public interface ApiU_match_voteService extends U_match_voteServiceBase {

  	//新增对象后返回记录ID
    public int U_match_voteInsertion(ApiU_match_vote u_match_vote);

    //根据作品ID查询投票列表
	public List<ApiU_match_vote> findU_match_voteByWorkId(Integer match_id) throws Exception;

	//根据赛事ID获取投票总人数
	public int findU_vote_numByMatchId(Integer match_id) throws Exception;
	
	//根据作品ID获取投票人详情列表
	public List<ApiU_match_vote> findU_match_votesByWorksId(String works_id) throws Exception;

	//根据赛事ID获取详情列表
	public List<ApiU_match_vote> findU_match_votesByMatchId(String match_id) throws Exception;
}


